﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _08.Factory
{
    class Program
    {
        static void Main(string[] args)
        {
            IFactory factory = new UndergraduateFactory();
            LeiFeng studeng = factory.CreateLeiFeng();

            studeng.BuyRice();
            studeng.Sweep();
            studeng.Wash();

            Console.ReadLine();
        }
    }
}
